package com.ow.framework.controller.action;




/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2008</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class LoginAction extends BaseAction{
    
	public LoginAction(){
		
	}
	private String recUrl = "";
	public String getRecUrl() {
		return recUrl;
	}
	public void setRecUrl(String recUrl) {
		this.recUrl = recUrl;
	}
	private static final long serialVersionUID = -6051180931889331167L;
	public String subExecute() {
//		String ssRank = this.getSession(true).getAttribute("randname")==null?"":this.getSession(true).getAttribute("randname").toString();
//		String usRank = this.getParamMap().get("rankNum")==null?"":this.getParamMap().get("rankNum").toString();
//		if(!"".equals(usRank)&&ssRank.equals(usRank)){
			this.eventExecutor.generalEventExecutor();
			if(this.eventExecutor.getExecutorResult().getResultData(0).getIntResult() > 0){
//				this.
				return IAction.SUCCESS;
			}
//		}
//		PromptInfo pi = this.getPromptInfo();
//		pi.setTotalDescInfo("验证码不正确");
//		this.setPromptInfo(pi);
		return IAction.FAIL;
	}   
}


